import { createFeatureSelector, createSelector } from '@ngrx/store';
import { AppState } from '..';
import { personFeatureKey, State } from '../reducers/person.reducer';
export const personLister = createFeatureSelector<AppState, State>(
  personFeatureKey
);
export const personList = createSelector(personLister, (state) => state);
